package com.ftg.learn.controller;

import com.ftg.learn.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kangjx
 * @createTime 2022/12/29
 */
@RestController
public class FeignContrller {

    @Autowired
    DemoService demoService;

    @GetMapping("/feigndemo")
    public String h1(){
        return demoService.h1();
    }

}
